const app=getApp()
Page({
  data:{
    nickName:'',
    avatarUrl:''
  },
  onShow(){
    this.setData({
      nickName:app.nickName,
      avatarUrl:app.avatarUrl
    })
  }

})